<?php

if (!defined('GmhLiger')) {
    exit(1);
}
import($GLOBALS['spConfig']['controller_path'] . '/general.php');

class main extends general {

    public function __construct() { // 公用
        parent::__construct(); // 这是必须的
        $this->tpl_title = "首页";
        $this->navigation_current = 'main';
    }

    function index() {
        $this->display("admin/system/login.html");
    }

    function mainmenu() {
        echo json_encode(array('URL' => spUrl('main', 'indexs')));
    }

}